package com.pbc.gmp.model;

import com.pbc.gmp.model.basemodel.Org;

import java.io.Serializable;
import java.util.List;

public class OrgTreeDto  implements Serializable {

    private Long id;
    /**
     *菜单名称
     */
    private String text;


    private List<OrgTreeDto> children;
//    private String state;
    private Long pid;

    public Long getPid() {
        return pid;
    }

    public void setPid(Long pid) {
        this.pid = pid;
    }

//    public String getState() {
//        return state;
//    }
//
//
//    public void setState(String state) {
//        this.state = state;
//    }


    public Long getId() {
        return id;
    }


    public void setId(Long id) {
        this.id = id;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public List<OrgTreeDto> getChildren() {
        return children;
    }

    public void setChildren(List<OrgTreeDto> children) {
        this.children = children;
    }
}